package com.mf;


import io.github.heollhai.common.config.security.AuthorizationProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: lmf
 * @Create: 2024/5/26 18:22
 * Description:  $description
 */
@SpringBootApplication
@MapperScan("com.mf.mapper")
@ComponentScan({"io.github.heollhai.common.config","com.mf"})// 启用配置属性
@EnableConfigurationProperties({AuthorizationProperties.class}) // 配置可访问的白名单地址
public class Application {
     public static void main(String[] args) {
         SpringApplication.run(Application.class, args);
     }
}